﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using Dal = RentAWorker.DataAccess.Entities;

namespace RentAWorker.Business.Interfaces
{
    /// <summary>
    /// Service for managing customers
    /// </summary>
    /// <remarks>Required security role: AccountManager</remarks>
    [ServiceContract]
    public interface IManageCustomerService
    {
        [OperationContract]
        Dal.Customer[] GetCustomers(string nameSearchString);
        [OperationContract]
        void UpdateCustomer(Dal.Customer customer);
        [OperationContract]
        void DeleteCustomer(int customerId);
    }
}
